{% extends "layout.html" %}
{% block body %}
  <h1>成绩</h1>
  {% if error %}
    <p class=error><strong>错误:</strong> {{ error.decode('utf-8') }}
  {% endif %}
  <form action='loaddata' method=post>
      学号: <input type=text name=username value="{{request.form.username }}">
      <br>
      密码:<input type=password name=password>
      <br>
      <input type=submit value=获取>
  </form>
    {% block grade %}{% endblock %}
{% endblock %}
